-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lxl-web, supersearch): Narrow search query when editing parts (LWS-273) #1190
Conversation
Capitalization of BooleanOperator rule in grammar is needed to be able to identify the operators
I have done some changes in the grammar file so run |
This allows us to also add relevent extra entries (e.g. `min-reverseLinks.totalItems` when searching for qualifiers)
fe95677
to
e4f524c
Compare
@@ -47,15 +47,15 @@ freetext { | |||
|
|||
CompareOperator { ">" | "<" | ">=" | "<=" } | |||
|
|||
booleanOperator { "AND" | "OR" | "NOT" } | |||
BooleanOperator { "AND" | "OR" | "NOT" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exporting BooleanOperator
(oddly enough) breaks the highlighting of BooleanQuerys as it is implemented now. But of course we should do it.
My suggestion is when this and #1186 is merged, we properly re-add (the option to) highlighting operators within a valid BooleanQuery.
This allows the labels in #1186 to work as inteded. We need to sync what the Libris XL API needs first before we do something more.
7058bc1 adds a last-minute change which prevents the The next step forward is to discuss exactly how the request to the Libris XL API should look like and then adapt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
Description
Tickets involved
LWS-273
Solves
Narrows search query when editing parts. This is done to get more relevant suggestions inside the SuperSearch component.
Summary of changes